<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>图片列表</title>
    <style>
        *{
            margin: 0 auto;
            text-align: center;
        }
        body{
            background-color: lightgoldenrodyellow;
        }
        .bc{
            width: 260px;
            height: 330px;
            background-color: #ffffff;
            margin: 10px;
        }
        .one{
            margin: 20px;
            position: relative;
        }
        .two{
            box-sizing: border-box;
            width: 100px;
            height: 20px;
            font-size: 10px;
            padding: 5px 0px;
            background-color: salmon;
            border-radius: 10px;
            color: #ffffff;
            position: absolute;
            top: 235px;
        }
        .to{
            box-sizing: border-box;
            width: 100px;
            height: 20px;
            font-size: 10px;
            padding: 5px 0px;
            background-color: salmon;
            border-radius: 10px;
            color: #ffffff;
            position: absolute;
            top: 590px;
        }
        .three{
            margin: 10px 10px;
        }
        .four{
            font-size: 10px;
            font-weight: lighter;
            margin-bottom: 10px;
        }
        .five{
            width: 120px;
            height: 25px;
            font-size: 10px;
            font-weight: lighter;
            color: #ffffff;
            background-color: black;
            border-radius: 30px;
            /* padding: 10px 0px; */
        }
        span{
            font-size: 20px;
        }
    </style>
</head>
<body>
     <div class="contain">
         <div class="bc">
            <div class="one"><img src="./img/华为mate30.jpg" alt=""></div>
            <div class="two">6期免息|多重好礼</div>
            <div class="three">HUAWEI|Mate 30 5G</div>
            <div class="four">麒麟990 4000万超感光徕卡三摄</div>
            <div class="five">￥<span>4499</span> 起</div>
         </div>
         <div class="bc">
            <div class="one"><img src="./img/华为nova7.jpg" alt=""></div>
            <div class="to">6期免息|多重好礼</div>
            <div class="three">HUAWEI| nova 7 5G</div>
            <div class="four">前置3200万像素高清自拍</div>
            <div class="five">￥<span>3200</span> 起</div>
         </div>
     </div>
</body>
</html>
